import request from "../utils/request"
export default {
    getMyInfo(id){
        return request({
            url:"/getUserByName",
            method:'get',
            params:{
                id:id
            }
        })
    },
    getUnRegisterMyInfo(name){
        return request({
            url:"/getUnRegisterUserByName",
            method:'get',
            params:{
                name:name
            }
        })
    }
}